<div ng-controller="merchantsViewCtrl">
    <div class="bg-light lter b-b wrapper-md ng-scope">
        <h4 class="m-n font-thin">商户详情</h4>
        <button ui-sref="app.merchants" class="btn-back btn btn-dark btn-sm btn-rounded">
            返回
        </button>
    </div>
    <div class="wrapper-md">
        <div class="panel">
            <div class="panel-body">
                <!--店铺营业用户信息-->
                <div class="pull-left fa-border m-r w-lg">
                    <div class="panel-body">
                        <span class="font-bold h5 block m-b-md m-l-lg">营业用户信息</span>
                        <div>
                            <table>
                                <tbody>
                                    <tr>
                                        <td>
                                            <div class="text-right">
                                                <span class="w-xs inline h6">证件类型：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <span class="h6" ng-if="shopInfo.identityType==0">身份证号码</span>
                                            <span class="h6" ng-if="shopInfo.identityType==1">港澳通行证</span>
                                            <span class="h6" ng-if="shopInfo.identityType==2">台胞证</span>
                                            <span class="h6" ng-if="shopInfo.identityType==3">护照</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="text-right m-xs">
                                                <span class="w-xs inline h6">真实姓名：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <span class="h6 ng-binding">{{shopInfo.identityName}}</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="text-right m-xs">
                                                <span class="w-xs inline h6">证件号码：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <span class="h6 ng-binding">{{shopInfo.identityCode}}</span>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="line line-dashed b-b pull-in"></div>
                        <div>
                            <table>
                                <tbody>
                                    <tr class="m-xs">
                                        <td>
                                            <div class="text-right m-xs">
                                                <span class="w-xs inline h6">正面照：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <div class="m-xs" ng-click="openUrl(app.image.shopinfo+shopInfo.identityFrontImgUrl)">
                                                <img src="{{app.image.shopinfo}}{{shopInfo.identityFrontImgUrl}}" err-src="img/error.png" width="100" height="100"/>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr ng-if="shopInfo.identityType==0">
                                        <td>
                                            <div class="text-right m-xs">
                                                <span class="w-xs inline h6">反面照：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <div class="m-xs" ng-click="openUrl(app.image.shopinfo+shopInfo.identityBackImgUrl)">
                                                <img src="{{app.image.shopinfo}}{{shopInfo.identityBackImgUrl}}" err-src="img/error.png" width="100" height="100"/>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <div class="text-right m-xs">
                                                <span class="w-xs inline h6">手持正面照：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <div class="m-xs" ng-click="openUrl(app.image.shopinfo+shopInfo.identityImgUrl)">
                                                <img src="{{app.image.shopinfo}}{{shopInfo.identityImgUrl}}" err-src="img/error.png" width="100" height="100"/>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>



                        </div>
                    </div>
                </div>
                <!--店铺营业执照信息-->
                <div class="pull-left fa-border m-r w-lg">
                    <div class="panel-body">
                        <span class="font-bold h5 block m-b-md m-l-lg">营业执照信息</span>
                        <div>
                            <table>
                                <tbody>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">主体资质：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6" ng-if="shopInfo.subjectType==0">营业执照</span>
                                        <span class="h6" ng-if="shopInfo.subjectType==1">灵活就业（营业）辅导证/意见</span>
                                        <span class="h6" ng-if="shopInfo.subjectType==2">事业单位法人证书</span>
                                        <span class="h6" ng-if="shopInfo.subjectType==3">民办非企业单位登记证书</span>
                                        <span class="h6" ng-if="shopInfo.subjectType==4">社会团体法人登记证书</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">单位名称：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopInfo.unitName}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">法定代表人：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopInfo.legalPerson}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">注册号：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopInfo.registrationMark}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">注册地址：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopInfo.registrationAddress}}</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="line line-dashed b-b pull-in"></div>
                        <div>
                            <table>
                                <tbody>
                                    <tr>
                                        <td>
                                            <div class="text-right m-xs">
                                                <span class="w-xs inline h6">证件图片：</span>
                                            </div>
                                        </td>
                                        <td>
                                            <div class="m-xs" ng-click="openUrl(app.image.shopinfo+shopInfo.subjectImgUrl)">
                                                <img src="{{app.image.shopinfo}}{{shopInfo.subjectImgUrl}}" err-src="img/error.png" width="100" height="100"/>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <!--店铺基本信息-->
                <div class="pull-left fa-border w-lg">
                    <div class="panel-body">
                        <span class="font-bold h5 block m-b-md m-l-lg">店铺基本信息</span>
                        <div>
                            <table>
                                <tbody>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">行业名称：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopUpdateVO.industryName}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">店铺名称：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopUpdateVO.name}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">店铺地址：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopUpdateVO.address}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">联系号码：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopUpdateVO.mobilePhone}}</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <div class="text-right m-xs">
                                            <span class="w-xs inline h6">店铺描述：</span>
                                        </div>
                                    </td>
                                    <td>
                                        <span class="h6">{{shopUpdateVO.description}}</span>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
